﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;

namespace Mt.Site.Application.Dto
{
    public class EntityIdListWithMenuIdDto : EntityIdListDto<Guid>
    {
        public long MenuId { get; set; }

        public Guid? RelateId { get; set; }
    }

    public class EntityIdListDto : EntityIdListDto<Guid>
    {

    }

    public class EntityIdListDto<TPrimaryKey> where TPrimaryKey : struct, IComparable
    {
        [Required]
        public List<TPrimaryKey> List { get; set; }
    }
}
